package com.jwaoo.mobile.view.setting.fragment;

import android.view.View;

import com.dx.as.ToolBarOptions;
import com.dx.as.common.FragmentUtils;
import com.dx.as.fragment.TFragment;
import com.jwaoo.mobile.R;

/**
 * Created by jwaoo on 2017/12/15.
 */

public class AboutFragment extends TFragment{
    @Override
    public void initView() {

    }

    @Override
    public int setLayoutI() {
        return R.layout.fragment_about;
    }

    @Override
    public void dataOpion() {

    }

    @Override
    public void initRpo() {

    }

    public void setToolbar(){
        ToolBarOptions toolBarOptions = new ToolBarOptions();
        toolBarOptions.showLeft=true;
        toolBarOptions.titleString = getResources().getString(R.string.about_setting);
        toolBarOptions.onLeftClickListener = new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                FragmentUtils.goBackFragment(getActivity(),SettingFragment.class,R.id.register_container,AboutFragment.class);
            }
        };
        setToolBar(toolBarOptions);
    }
}
